<template>
	<view>
		<z-nav-bar backState="1000">商品列表</z-nav-bar>
		
		<view class="u-p-30">
			<HotGoodsSku ref="hotGoodsSkuRef" isShowSku></HotGoodsSku>
		</view>
		
	</view>
</template>

<script>
	import HotGoodsSku from '@/components/hot_goods_sku/index.vue'
	export default{
		data(){
			return{
				
			}
		},
		components:{
			HotGoodsSku
		},
		onLoad() {
			this.init()
		},
		methods:{
			init(){
				// 加载热销商品
				this.$nextTick(()=>{
					console.log(this.$refs.hotGoodsSkuRef)
					this.$refs.hotGoodsSkuRef.init()
				})
			}
		}
	}
</script>

<style>
	page{
		background-color: #FFFFFF;
	}
</style>